<template>
  <div id="ContactUs">
    <div class="banner container-fuild text-center">联系我们</div>
    <div class="container">
      <div class="container-fuild ContactUs-container">
        <div class="row">
          <div class="col-xs-12 col-sm-12 col-md-6">
            <div class="Service-container row">
              <div
                class="Service-item col-xs-12 col-sm-6 col-md-6 wow slideInUp"
                v-for="(item, index) in serviceList"
                :key="index"
                @click="ServiceClick(item.id)"
              >
                <div class="Service-item-wrapper">
                  <div class="Service-item-top">
                    <h4>{{ item.title }}</h4>
                    <i></i>
                    <p>{{ item.eng_title }}</p>
                  </div>
                  <div class="Service-item-img">
                    <img
                      width="200px"
                      height="200px"
                      :src="item.img"
                      alt="服务"
                    />
                    <p class="Service-item-p">{{ item.bz }}</p>
                  </div>
                  <div class="Service-item-border"></div>
                </div>
              </div>
            </div>
            <!-- <form class="form-horizontal" role="form">
              <div class="form-group">
                <label for="name" class="col-sm-2 control-label">姓名</label>
                <div class="col-sm-10 col-xs-12">
                  <input
                    type="text"
                    class="form-control"
                    id="name"
                    placeholder="请输入名字"
                  />
                </div>
              </div>
              <div class="form-group">
                <label for="email" class="col-sm-2 control-label">邮箱</label>
                <div class="col-sm-10">
                  <input
                    type="text"
                    class="form-control"
                    id="email"
                    placeholder="请输入邮箱"
                  />
                </div>
              </div>
              <div class="form-group">
                <label for="tel" class="col-sm-2 control-label">电话</label>
                <div class="col-sm-10">
                  <input
                    type="text"
                    class="form-control"
                    id="tel"
                    placeholder="请输入电话"
                  />
                </div>
              </div>
              <div class="form-group">
                <label for="content" class="col-sm-2 control-label">内容</label>
                <div class="col-sm-10">
                  <textarea
                    class="form-control"
                    id="content"
                    rows="8"
                    placeholder="请输入内容"
                  ></textarea>
                </div>
              </div>
              <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                  <button type="submit" class="btn btn-default btn-block">
                    提交
                  </button>
                </div>
              </div>
            </form> -->
          </div>
          <div class="col-xs-12 col-sm-12 col-md-6">
            <img src="../assets/img/map.png" alt="map" />
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "ContactUs",
  data() {
    return {
      serviceList: [
        {
          id: "section-2",
          title: "商务：罗经理",
          eng_title: "手机：181 2614 8595",
          img: require("@/assets/img/wxgzh.jpg"),
          bz: "微信公众号"
        },
        {
          id: "section-1",
          title: "商务：黄经理",
          eng_title: "手机：133 8037 4416",
          img: require("@/assets/img/wx.jpg"),
          bz: "微信小程序"
        }
      ]
    };
  },
  mounted() {}
};
</script>
<style scoped>
.Service-item-p {
  font-size: 15px;
  text-align: center;
  margin-right: 30px;
  margin-top: 20px;
}
.banner {
  color: #fff;
  font-size: 30px;
  height: 150px;
  line-height: 150px;
  background-image: url("../assets/img/banner1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  background-position: center center;
}
.ContactUs-container {
  padding: 80px 0;
  transition: all ease 0.5s;
  box-sizing: border-box;
}
#map {
  width: 100%;
  height: 365px;
}
.row {
  margin-right: 0;
  margin-left: 0;
}
@media screen and (max-width: 997px) {
  .ContactUs-container {
    padding: 20px 0;
  }
}
</style>
